home *** CD-ROM | disk | FTP | other *** search
- gWhichColorsWidth=max(
- zstring_width(zstring: '$$$avUseDocumentColors'),
- zstring_width(zstring: '$$$avUsePreferenceColors'),
- zstring_width(zstring: '$$$avUseSystemColors'));
- gWhenColorsWidth=max(
- zstring_width(zstring: '$$$avReplaceDefaultColors'),
- zstring_width(zstring: '$$$avOverrideDocColors'));
- gMaxTextBackgroundWidth=max(
- zstring_width(zstring: '$$$/Prefs/Access/Colors/Text'),
- zstring_width(zstring: '$$$/Prefs/Access/Colors/Background'));
-
- dialog(name: '$$$/Prefs/Access', margin_height: 0, margin_width: 0)
- {
- view(dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth, align_children: align_left)
- {
- cluster(name: '$$$/Prefs/Access/Colors/Title')
- {
- static_text(name: '$$$/Prefs/Access/Colors/When');
- popup(item_id: 'When', width: max(gWhenColorsWidth, gWhichColorsWidth));
- gap();
- static_text(name: '$$$/Prefs/Access/Colors/Use');
- popup(item_id: 'Wich', width: max(gWhenColorsWidth, gWhichColorsWidth));
- }
- cluster(name: '$$$/Prefs/Access/Colors/MyColors', align_children: align_left)
- {
-
- view(align_children: align_row)
- {
- static_text(name: '$$$/Prefs/Access/Colors/Text', width: gMaxTextBackgroundWidth, alignment: align_right);
- button(item_id: 'Text', picture: true, height: 20, width: 22);
- }
-
- view(align_children: align_row )
- {
- static_text(name: '$$$/Prefs/Access/Colors/Background', width: gMaxTextBackgroundWidth, alignment: align_right);
- button(item_id: 'Back', picture: true, height: 20, width: 22);
- }
- }
-
- cluster(item_id: 'Clus', name: '$$$/Prefs/Access/PageMode', alignment: align_fill)
- {
- static_text(item_id: 'Desc', name: '$$$/Dialogs/EmptyStr', alignment: align_fill, height: gStaticTextHeight * 2);
- view(align_children: align_row)
- {
- check_box(item_id: 'Mode', name: '$$$/Prefs/Access/SwitchToPageModeAbove');
- edit_text(item_id: 'MaxP', width: max_char_width() * 4);
- static_text(item_id: 'Labl', name: '$$$/Prefs/Access/Pages');
- }
- }
- }
-
- }
-